﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SnakesAndLaddersMod
{
    class MainMenu : MenuScreen
    {
        MenuItem playGame;
        MenuItem exitGame;

        public MainMenu() : base("Main Menu")
        {
            playGame = new MenuItem("Play");
            exitGame = new MenuItem("Exit");

            MenuItems.Add(playGame);
            MenuItems.Add(exitGame);
        }

        void PlayGameSelected(object sender, EventArgs e)
        {
            this.ExitScreen();
        }

        void ExitGameSelected(object sender, EventArgs e)
        {
            this.ExitScreen();
        }
    }
}
